import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [

  {
    path: '/todolist',
    name: 'todolist',

    component: () => import('../views/TodoListView.vue')
  },
  {
    path: '/my',
    name: 'my',

    component: () => import('../views/MyView.vue')
  },
  {
    path: '/',
    name: 'login',
    component: () => import('../views/login.vue')
  },
  {
    path: '/course',
    name: 'course',

    component: () => import('../views/Course.vue')
  }
]



const router = new VueRouter({
  routes
})

export default router
